package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
    //查询该日期对应的预约数状态,为空则添加 有值则修改
    long findCountByOrderDate(Date orderDate);
    //修改
    void editNumberByOrderDate(OrderSetting orderSetting);
    //添加
    void add(OrderSetting orderSetting);

    List<OrderSetting> getOrderSettingByMonth(Map date);

    OrderSetting findByOrderDate(Date date);

    void editReservationsByOrderDate(OrderSetting orderSetting);
}
